<?php
/*由bean脚本生成 powerBy--joe*/
namespace app\common\model;

use app\common\bean\OrderGoodsDetailBean;

class OrderGoodsDetailModel extends BaseModel
{
	protected $table = 'order_goods_detail';
	protected $append = ['domain_url'];
	/**
	* @return OrderGoodsDetailModel
	*/
	static function getInstance(){
		return parent::getInstance();
	}

    public function getDomainUrlAttr($value, $data){
	    if(!array_key_exists(OrderGoodsDetailBean::$url,$data))
	        return '';
        $imgList = $this->getImgList($data[OrderGoodsDetailBean::$url]);

        $imgList = $this->domainImgList($imgList);
        return $imgList;
    }
}
